import requests


class LoginApi():
    @classmethod
    def login(cls,body):
        url = "http://ihrm-test.itheima.net/api/sys/login"
        resp = requests.post(url=url, json=body)
        return resp




# if __name__ == '__main__':
#
#     resp=LoginApi.login({"mobile": "13800000002", "password": "123456"})
#     print(resp)
